package com.huajin.iot.monitor.service.impl;

import com.huajin.iot.monitor.dao.GatewayipDao;
import com.huajin.iot.monitor.domin.GatewayipDO;
import com.huajin.iot.monitor.service.GatewayipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class GatewayipServiceImpl implements GatewayipService {

	@Autowired
	private GatewayipDao gatewayipDao;
	
	@Override
	public GatewayipDO get(Integer id){
		return gatewayipDao.get(id);
	}

	@Override
	public List<GatewayipDO> list(Map<String, Object> map){
		return gatewayipDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return gatewayipDao.count(map);
	}
	
	@Override
	public int save(GatewayipDO gatewayip){
		return gatewayipDao.save(gatewayip);
	}
	
	@Override
	public int update(GatewayipDO gatewayip){
		return gatewayipDao.update(gatewayip);
	}
	
	@Override
	public int remove(Integer id){
		return gatewayipDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return gatewayipDao.batchRemove(ids);
	}
	
}
